cd qingning
wget https://zhuxiaohuan-1252924679.cos.ap-nanjing.myqcloud.com/nps/linux_amd64_server.zip
yum -y install unzip zip
unzip linux_amd64_server.zip
chmod 777 nps
systemctl disable firewalld.service
./nps install
clear
echo "-----------------------------"
echo "搭建完成"
echo "使用方法"
echo "后台地址: ip:端口（默认为8081）"
echo "账号：admin   密码：123"
echo "更多操作请去论坛：https://www.qingningz.cn/forum/1150"
echo "----------------------------"
echo "启动：nps start"
echo "停止：nps stop"
echo "重启：nps restart"
echo "卸载：rm -rf /etc/nps"
nps restart
read -p "" name